home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / libraries / iffparse.inc < prev    next >
Text File  |  1998-06-24  |  2KB  |  89 lines

  1. include "inc/exec/types.inc";
  2. include "inc/exec/lists.inc";
  3. include "inc/exec/ports.inc";
  4. include "inc/devices/clipboard.inc";
  5.  
  6. struct IFFHandle is
  7.   iff_Stream:ulong;
  8.   iff_Flags:ulong;
  9.   iff_Depth:long;
  10. ;
  11.  
  12. def IFFF_READ = 0;
  13. def IFFF_WRITE = 1;
  14. def IFFF_RWBITS = (IFFF_READ|IFFF_WRITE);
  15. def IFFF_FSEEK = (1<<1);
  16. def IFFF_RSEEK = (1<<2);
  17. def IFFF_RESERVED = $ffff0000;
  18.  
  19. struct IFFStreamCmd is
  20.   sc_Command:long;
  21.   sc_Buf:ulong;
  22.   sc_NBytes:long;
  23. ;
  24.  
  25. struct ContextNode is
  26.   cn_Node:MinNode;
  27.   cn_ID:long;
  28.   cn_Type:long;
  29.   cn_Size:long;
  30.   cn_Scan:long;
  31. ;
  32.  
  33. struct LocalContextItem is
  34.   lci_Node:MinNode;
  35.   lci_ID:ulong;
  36.   lci_Type:ulong;
  37.   lci_Ident:ulong;
  38. ;
  39.  
  40. struct StoredProperty is
  41.   sp_Size:long;
  42.   sp_Data:ulong;
  43. ;
  44.  
  45. struct CollectionItem is
  46.   ci_Next:ulong;
  47.   ci_Size:long;
  48.   ci_Data:ulong;
  49. ;
  50.  
  51. struct ClipboardHandle is
  52.   cbh_Req:IOClipReq;
  53.   cbh_CBport:MsgPort;
  54.   cbh_SatisfyPort:MsgPort;
  55. ;
  56.  
  57. def IFFERR_EOF = -1;
  58. def IFFERR_EOC = -2;
  59. def IFFERR_NOSCOPE = -3;
  60. def IFFERR_NOMEM = -4;
  61. def IFFERR_READ = -5;
  62. def IFFERR_WRITE = -6;
  63. def IFFERR_SEEK = -7;
  64. def IFFERR_MANGLED = -8;
  65. def IFFERR_SYNTAX = -9;
  66. def IFFERR_NOTIFF = -10;
  67. def IFFERR_NOHOOK = -11;
  68. def IFF_RETURN2CLIENT = -12;
  69.  
  70. def IFFPARSE_SCAN = 0;
  71. def IFFPARSE_STEP = 1;
  72. def IFFPARSE_RAWSTEP = 2;
  73.  
  74. def IFFSLI_ROOT = 1;
  75. def IFFSLI_TOP = 2;
  76. def IFFSLI_PROP = 3;
  77.  
  78. def IFFSIZE_UNKNOWN = -1;
  79.  
  80. def IFFCMD_INIT = 0;
  81. def IFFCMD_CLEANUP = 1;
  82. def IFFCMD_READ = 2;
  83. def IFFCMD_WRITE = 3;
  84. def IFFCMD_SEEK = 4;
  85. def IFFCMD_ENTRY = 5;
  86. def IFFCMD_EXIT = 6;
  87. def IFFCMD_PURGELCI = 7;
  88.  
  89.